﻿using Microsoft.AspNetCore.Mvc;
using tju.cme.BookStore2024.webapi.Models.Tools;

namespace tju.cme.BookStore2024.webapi.Controllers
{
    public class NovelTypeController():ControllerBase
    {
        [HttpGet("GetAll")]
        public async Task<IActionResult> GetAll()
        {

            List<string> typeList = [ "历史", "玄幻", "悬疑", "仙侠","言情"] ;
            return Ok(new ReturnMessage(await Task.FromResult(typeList)));
        }
    }
}
